package com.example.design_patterns.abstract_factory_pattern;

import com.example.design_patterns.abstract_factory_pattern.*;

public class ShapeFactory extends AbstractFactory{

    @Override
    public Color getColor(String color) {
        return null;
    }

    @Override
    public Shape getShape(String type){
        if(type.equals("circle")){
            return new Circle();
        }else if(type.equals("square")){
            return new Square();
        }
        return null;
    }
}
